﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Chat
{
    [Serializable]
    public class MessageData
    {
        public NickName To { get; protected set; }
        public string Message { get; protected set; }
        public NickName Sender { get; protected set; }

        public MessageData(NickName to, string message, NickName sender)
        {
            To = to;
            Message = message;
            Sender = sender;
        }
    }
}
